﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace LtccApi.Models
{
  /// <summary>
  /// 店铺轮胎
  /// </summary>
  [Table("bj_stores")]
  public class StoreTire
  {
    /// <summary>
    /// 序号
    /// </summary>
    /// <value>The identifier.</value>
    public int ID { get; set; }

    /// <summary>
    /// 店铺名
    /// </summary>
    [Column("name")]
    public string Name { get; set; }

    /// <summary>
    /// 地址
    /// </summary>
    [Column("addr")]
    public string Address { get; set; }

    /// <summary>
    /// 经度
    /// </summary>
    [Column("lng")]
    public string Lng { get; set; }

    /// <summary>
    /// 纬度
    /// </summary>
    [Column("lat")]
    public string Lat { get; set; }

    /// <summary>
    /// 店铺图片
    /// </summary>
    [Column("img")]
    public string ImageUrl { get; set; }

    /// <summary>
    /// 电话号码
    /// </summary>
    [Column("tel")]
    public string PhoneNumber { get; set; }

    /// <summary>
    /// 经营范围
    /// </summary>
    [Column("scope")]
    public string BusinessScope { get; set; }

    /// <summary>
    /// 卡车轮胎标志 1-是卡车 0-不是卡车
    /// </summary>
    [Column("truck_fix")]
    public int TruckFlag { get; set; }

    /// <summary>
    /// 汽车轮胎标志 1-是汽车 0-不是汽车
    /// </summary>
    [Column("car_fix")]
    public int CarFlag { get; set; }

    public double distance { get; set; }
  }
}
